<template>
    <div class="disk_view">
        <Left></Left>
        <Right></Right>
        <Upload_state_cp></Upload_state_cp>
    </div>
</template>

<script>
import Left from '@/views/disk/left.vue'
import Right from '@/views/disk/right.vue'
import Upload_state_cp from '@/components/public_cp/upload_state'
export default { //网盘页面
    name: 'Disk_view',
    components: {
        Left,
        Right,
        Upload_state_cp,
    },
    watch:{
        $route(){
            this.$store.commit('remove_search_data'); //当路由发生变化时清空全局的search_data
            this.$store.commit('remove_selection_files'); //当路由发生变化时，清空已经选择的文件
        },
    },
}
</script>

<style>
.disk_view{
    display: flex;
    flex-direction: row;
    width: 100%;
}
</style>
